import axios from '@/utils/http';
import base from './base';

export default {
  // 活跃空间
  spaces() {
    return axios.get(`${base.sq}/home_pages/products`);
  },
  // 最新资源
  docs() {
    return axios.get(`${base.sq}/home_pages/files`);
  },
  // 最新问题
  issues() {
    return axios.get(`${base.sq}/home_pages/issues`);
  },
};
